﻿
using System;
using System.Collections.ObjectModel;
using AdventureWorksLT.Web.Models;

namespace AdventureWorksLT.Views.Customers.DesignerData
{
    public class DesignTimeCustomer : ObservableCollection<Customer>
    {
        
        public DesignTimeCustomer()
        {
          for (int i = 0; i < 10; i++)
            {
                Add(CreateDesignCustomers(i));
            }
        }

        public Customer CreateDesignCustomers(int i)
        {
          var customers = new Customer()
            {
            		CustomerID = 1+i, //Int32
		NameStyle = true, //Boolean
		Title = "Title", //String
		FirstName = "First Name", //String
		MiddleName = "Middle Name", //String
		LastName = "Last Name", //String
		Suffix = "Suffix", //String
		CompanyName = "Company Name", //String
		SalesPerson = "Sales Person", //String
		EmailAddress = "Email Address", //String
		Phone = "Phone", //String
		PasswordHash = "Password Hash", //String
		PasswordSalt = "Password Salt", //String
		rowguid = Guid.NewGuid(),// "Password Salt", //Guid
		ModifiedDate = Convert.ToDateTime("12/07/2010"), //DateTime
		};
		 return customers;
        }
      }
}


